package com.zheng.shop.rpc.api;

import com.alibaba.fastjson.JSONArray;
import com.zheng.common.base.BaseServiceMock;
import com.zheng.shop.common.exception.ShopException;
import com.zheng.shop.dao.mapper.ShopAttributeKeyMapper;
import com.zheng.shop.dao.model.ShopAttributeKey;

import java.util.List;

/**
 * 降级实现ShopProductAttributeKeyService接口
 * Created by shuzheng on 2017/11/7.
 */
public class ShopAttributeKeyServiceMock extends BaseServiceMock<ShopAttributeKeyMapper, ShopAttributeKey> implements ShopAttributeKeyService {
    @Override
    public boolean selectImage(Integer id, boolean hasImage) {
        return false;
    }

    @Override
    public boolean createProductAttribute(Integer productCategoryId, String key, List<String> values) throws ShopException {
        return false;
    }

    @Override
    public boolean updateProductAttribute(Integer productCategoryId, String key, List<String> values) {
        return false;
    }

    @Override
    public boolean deleteProductAttribute(Integer keyId) throws ShopException {
        return false;
    }

    @Override
    public boolean deleteProductAttribute(List<Integer> keyIdList) throws ShopException {
        return false;
    }

    @Override
    public boolean copyProductAttribute(List<Integer> skuIds, Integer productCategoryId) throws ShopException {
        return false;
    }

    @Override
    public JSONArray getKeyValueJson(Integer productCategoryId) {
        return null;
    }


}
